<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="xdz" uri="/xdztools" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="${xdz:domain() }/css/bootstrap.min.css">
<link rel="stylesheet" href="${xdz:domain() }/css/font-awesome.min.css">
<link rel="stylesheet" href="${xdz:domain() }/css/parsley.css" >
<%-- <link rel="stylesheet" href="${xdz:domain() }/css/style.min.css"> --%>
<link rel="stylesheet" href="${xdz:domain() }/css/kkpager_blue.css">
<script src="${xdz:domain() }/js/jquery.min.js"></script>
<script src="${xdz:domain() }/js/jquery.treetable.js"></script>
<script src="${xdz:domain() }/js/bootstrap.min.js"></script>
<script src="${xdz:domain() }/js/plugins/fuelux/fuelux.js"></script>
<script src="${xdz:domain() }/js/underscore-min.js"></script>
<script src="${xdz:domain() }/js/plugins/dataTables/jquery.dataTables.js"></script>
<script src="${xdz:domain() }/js/app.js"></script>
<script src="${xdz:domain() }/js/app.plugin.js"></script>
<script src="${xdz:domain() }/js/app.data.js"></script>
<script src="${xdz:domain() }/js/kkpager.min.js"></script>
<script src="${xdz:domain() }/js/pagination.js"></script>
<script src="${xdz:domain() }/js/plugins/parsley/parsley.min.js"></script>
<script src="${xdz:domain() }/js/plugins/parsley/zh_cn.js"></script>
<script type="text/javascript" src="${xdz:domain() }/js/plugins/layer/layer.min.js"></script>
<script type="text/javascript" src="${xdz:domain() }/js/plugins/My97DatePicker/WdatePicker.js"></script>
<title></title>
</head>



<body>
    <form action="../acNoticeBase/insert" class="form-horizontal" id="acNoticeBaseForm" method="post" data-parsley-validate role="form">
        <div class="panel panel-default">
    <div class="panel-heading">
            <div class="panel-title">公告新增管理</div>
    </div>
                <div class="panel-body">
                    <div class="form-group">
                        <label class="col-md-2 control-label">标题</label>
                        <div class="col-md-8">
                            <input type="text" name="title" placeholder="" id="title" class="input-sm form-control" required="required">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">公告内容</label>
                        <div class="col-md-8">
                            <textarea class="input-sm form-control" rows="" cols="" id="content" name="content" required="required"></textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">展示时间</label>
                        <div class="col-md-4">
                            <input type="text" name="strStartTime" onclick="WdatePicker({maxDate:'#F{$dp.$D(\'endTime\')}',dateFmt:'yyyy-MM-dd HH:mm:ss'})" placeholder="" id="startTime" class="input-sm form-control Wdate" required="required">
                       </div>
                       <div class="col-md-4">
                            <input type="text" name="strEndTime" onclick="WdatePicker({minDate:'#F{$dp.$D(\'startTime\')}',dateFmt:'yyyy-MM-dd HH:mm:ss'})" placeholder="" id="endTime"  class="input-sm form-control Wdate" required="required">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">状态</label>
                        <div class="col-md-8">
                            <select name="status" id="status" class="form-control input-sm">
								<option value="1" >启用</option>
								<option value="0" >禁用</option>
							</select>
                        </div>
                    </div>
                    <div class="form-group">
                    	 <label class="col-md-2 control-label"></label>
                        <div class="col-md-8">
                            <button type="submit" class="btn btn-primary">保存</button>
                            <button type="button" class="btn btn-white" onclick="back()">取消</button>
                        </div>
                    </div>
            </div>
        </div>
    </form>
    <script type="text/javascript">
    function back(){
        history.go(-1);
    }
    </script>
</body>
</html>
